Skip to content

Conversation

@featheredtoast
Copy link
Member

Mirror the way we're cleaning bundle cache from base build:

find /var/www/discourse/vendor/bundle -name cache -not -path '*/gems/*' -type d -exec rm -rf {} + &&\
find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +

This similarly removes the cache files in the web template.

Mirror the way we're cleaning bundle cache from base build:

https://github.com/discourse/discourse_docker/blob/9ebce86fda3d9787d752de6311df15dcab9700f1/image/base/Dockerfile#L179-L180

This similarly removes the cache files in the web template.
@featheredtoast featheredtoast merged commit 072c526 into main Jun 13, 2025
5 checks passed
@featheredtoast featheredtoast deleted the remove-web-bundle-cache branch June 13, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants